package edu.scau.divineplace.entity.vo;

import edu.scau.divineplace.entity.enums.ContentTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Author: x1aolone
 * @Date: 2020/12/11 16:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("JournalVO")
public class JournalVO {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("内容id")
    private Long contentId;

    @ApiModelProperty("日志标题")
    private String title;

    @ApiModelProperty("日志内容")
    private String comment;

    @ApiModelProperty("评价用户id")
    private Long userId;

    @ApiModelProperty("评价时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "内容原名")
    private String originalName;

    @ApiModelProperty(value = "内容中文名")
    private String chineseName;

    @ApiModelProperty(value = "内容简介文字")
    private String introductionText;

    @ApiModelProperty(value = "内容简介图片")
    private String introductionImg;

    @ApiModelProperty(value = "内容类型")
    private ContentTypeEnum type;

    @ApiModelProperty("点赞数")
    private Long likeNum;
}
